Skip to main content
PUT
/
preview
/
fleet
/
vehicles
/
{id}
/
lock
[preview] Lock a vehicle.
curl --request PUT \
  --url https://api.samsara.com/preview/fleet/vehicles/{id}/lock \
  --header 'Authorization: Bearer <token>'
This response has no body data.

Documentation Index

Fetch the complete documentation index at: https://samsara-showcase.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The ID of the vehicle to lock or unlock. This can be a Samsara internal ID or an external ID in the format samsara.vin:{VIN}.

Response